package testes.vSys.bean;

import testes.vSys.Constants;


public class Model {
 
	private int id;
	private Brand brand;
	private String model;
	private CarType carType;

	public Model(int id, Brand brand, CarType carType, String model) {
		super();
		this.id = id;
		this.model = model;
		this.brand = brand;
		this.carType = carType;
	}

	public Model(Brand brand, CarType carType, String model) {
		this(Constants.VSYS_UNKNOWN_ID,brand,carType, model);
	}
	
	
	public int getId() {
		return id;
	}
	public String getModel() {
		return model;
	}
	public Brand getBrand() {
		return brand;
	}
	public CarType getCarType() {
		return carType;
	}
}
